package com.sunyard.dal.bo.bulletin;

import com.sunyard.dal.bo.BaseBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@ApiModel
@Data
public class AdvertAuditBO extends BaseBO {

    /**
     * 审核编号
     */
    @ApiModelProperty(value = "审核编号", required = true)
    @NotBlank(message = "审核编号不能为空")
    private String auditId;
    /**
     * 审核状态0 -未审核 1 -审核通过 2 -审核未通过
     */
    @ApiModelProperty(value = "审核状态(0 -未审核 1 -审核通过 2 -审核未通过)", required = true)
    @NotNull(message = "审核状态不能为空")
    private Integer auditFlag;
    /**
     * 审核理由 不超过256位
     */
    @ApiModelProperty(value = "审核理由")
    @Size(max = 256, message = "审核理由不超过256位")
    private String auditDesc;
}
